DevOwl\RealCookieBanner\Utils D

Total Complexity 133
Dependencies 3
Dependents 24
Total lines 566
Lines of code 298
Logical lines of code 196
Comment lines 233
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
isPageBuilder()
B
68 28 3
setCookie()
A
47 9 33
isFrontend()
A
57 9 17
removeNonPermalinkQueryFromUrl()
S
51 7 25
getPermalink()
S
54 7 21
host()
S
54 7 20
isPluginActive()
S
55 6 19
getOriginalHomeUrl()
S
61 6 11
getOptionRaw()
S
59 5 14
isDownload()
S
63 5 9
posts_where_find_in_set()
S
58 4 13
currentContentTypeIs()
S
60 4 13
array_flatten()
S
62 4 11
getIpAddress()
S
62 4 10
endsWith()
S
63 4 10
startsWith()
S
67 3 7
giveHost()
S
69 3 5
getRandomWeightedElement()
S
64 3 9
isThemeActive()
S
61 2 11
isPreinstalledEnvironment()
S
68 2 7
get_admin_colors()
S
68 2 6
isCLI()
S
78 2 3
hash()
S
66 2 8
anyPluginActive()
S
72 2 4
getRequestUrl()
S
69 2 6
getPreviewUrl()
S
77 1 3